import Command from "./command"

export class PublishCommand extends Command {
  constructor() {
    super(...arguments)
    this.id = "PUBLISH_COMMAND"
  }
}
export class RevertCommand extends Command {
  constructor(e: any) {
    super()
    this.id = "REVERT_COMMAND"
    this.payload = e
  }
}
export class SaveCommand extends Command {
  constructor(e: any) {
    super()
    this.id = "SAVE_COMMAND"
    this.payload = e
  }
}
export class SetDefaultViewTypeCommand extends Command {
  constructor(e: any) {
    super()
    this.id = "SET_DEFAULT_VIEW_TYPE_COMMAND"
    this.payload = e
  }
}
export class GetUnpublishedDeletionsCommand extends Command {
  constructor() {
    super(...arguments)
    this.id = "GET_UNPUBLISHED_DELETIONS_COMMAND"
  }
}
